//
//  CommunityModel.m
//  wtshoppingcite
//
//  Created by TW on 15-1-12.
//  Copyright (c) 2015年 TW. All rights reserved.
//

#import "CommunityModel.h"

@implementation CommunityModel

- (id)initWithCommunityList:(NSDictionary *)info{
    
    if(self = [super init]){
        id cid = [info objectForKey:@"id"];
        self.cid = ObjToString(cid);

        id title = [info objectForKey:@"title"];
        self.title = ObjToString(title);
        
        id outline = [info objectForKey:@"outline"];
        self.outline = ObjToString(outline);
        
        id createTime = [info objectForKey:@"createTime"];
        self.createTime = ObjToString(createTime);
    }
    return self;
}

@end
